package com.example.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.opencsv.bean.CsvBindByName;
import lombok.Data;

@Data
public class BookCSV {

    @CsvBindByName(column = "id")
    @ExcelProperty("id")
    private Integer id;
    @CsvBindByName(column = "标题")
    @ExcelProperty("书名")
    private String name;
    @CsvBindByName(column = "页面描述")
    @ExcelProperty("封面")
    private String img;
    @CsvBindByName(column = "t1")
    @ExcelProperty("著者")
    private String author;
    @CsvBindByName(column = "t2")
    @ExcelProperty("编者")
    private String editor;
    @CsvBindByName(column = "t3")
    @ExcelProperty("译者")
    private String translator;
    @CsvBindByName(column = "t4")
    @ExcelProperty("出版社")
    private String publisher;
    @CsvBindByName(column = "t5")
    @ExcelProperty("定价")
    private String price;
    @CsvBindByName(column = "t6")
    @ExcelProperty("出版时间")
    private String publishTime;
    @CsvBindByName(column = "t7")
    @ExcelProperty("isbn")
    private String isbn;
    @CsvBindByName(column = "t8")
    @ExcelProperty("中图分类")
    private String chineseImage;
    @CsvBindByName(column = "n1")
    @ExcelProperty("内容提要")
    private String summary;
    @CsvBindByName(column = "n2")
    @ExcelProperty("关键词")
    private String keyword;

}
